package com.itheima.service;

import com.itheima.entity.Comments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.po.CommentsPo;
import com.itheima.pojo.po.UserPo;
import com.itheima.result.PageResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author guanhuaer
 * @since 2024-09-15
 */
public interface CommentsService extends IService<Comments> {

    void contentsAdd(Comments comments);

    void commentSupport(Comments comments);

    List<CommentsPo> selectByProjectId(Integer id);

    Comments contentsFindNew(Comments comments);

    PageResult selectByUserId(CommentsPo comment);

    void commentDelete(Integer[] ids);

    List<UserPo> getMemberInfo(List<String> usernames);
}
